<?php 
	$isleft = $this->countModules('leftside'); 
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" slick-uniqueid="1">
<head>
	<jdoc:include type="head" />
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/jade/css/style.css">
	<link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/jade/css/jace.css">
	<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-32203396-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</head>
<body>
<div id="content" class="ofh">
	<div id="header" class="ofh">
		<div class="w960 mha <?php if(!$isleft) { echo 'ofh';} ?>">
			<!--logo-->
			<jdoc:include type="modules" name="logo" />

			<!--header links-->
			<div class="headerLinks por ofh ff2">
			<jdoc:include type="modules" name="social" />
			</div>
			<!--end header links-->
			<jdoc:include type="modules" name="mainmenu" />
			<div class="clear"></div>
			
			<jdoc:include type="modules" name="slideshow" />
			
		</div>
	</div>
	<div class="clear"></div>
	
	<div id="wrapper" <?php if(!$isleft) { echo 'class="mt175"';} ?>>
		<jdoc:include type="modules" name="bgleft" />
		
		<div id="container" class="ofh w960 mha <?php if(!$isleft) { echo 'pt200 pb10'; } ?>">
			<jdoc:include type="modules" name="leftside" />
			<div class="clear"></div>
			<jdoc:include type="component" />
		</div>
	</div><!--end wrapper-->
	<jdoc:include type="modules" name="footer" />

</div>
</body>
</html>